package com.winhxd.b2c.common.domain.order.condition;

import java.math.BigDecimal;
import java.util.List;

import com.winhxd.b2c.common.domain.common.ApiCondition;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 创建订单
 * @author wangxiaoshun
 * @date  2019年1月7日
 * @Description
 * @version
 */
@Data
public class OrderCreateCondition extends ApiCondition {
    @ApiModelProperty(value = "分销商id", required=true)
    private Long dealerId;

    @ApiModelProperty(value = "收货地址id", required=true)
    private Long addressId;

    @ApiModelProperty(value = "支付类型 1微信支付", required=true)
    private Integer payType;

    @ApiModelProperty(value = "配送费", required=false)
    private BigDecimal deliveryFee;

    @ApiModelProperty(value = "备注", required=false)
    private String remark;

    @ApiModelProperty(value = "订单商品明细", required=true)
    private List<OrderProductItemCondition> productItemConditions;
}
